Merged
Conversation
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to improve reliability of jobs running on self-hosted 1ES runners by adding per-run JobId=... labels to runs-on, and it also introduces automated Dependabot PR approval/merge automation plus updated Dependabot scanning scope.
Changes:
- Add dynamic
JobId=...runner labels topublish.ymlandpr-validate.ymlself-hosted jobs. - Add a scheduled workflow + shell script to auto-approve/merge eligible Dependabot PRs using a GitHub App token.
- Expand
.github/dependabot.ymlto monitor additional Cargo/NPM directories and increase PR limits.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/auto-approve-dependabot.sh |
New script to approve/merge (cargo-only) Dependabot PRs based on checks + file filters. |
.github/workflows/auto-merge-dependabot.yml |
New scheduled workflow to run the auto-approve script with a GitHub App token. |
.github/workflows/publish.yml |
Add dynamic JobId=... label composition for self-hosted runner selection. |
.github/workflows/pr-validate.yml |
Add JobId=... label to self-hosted jobs; switch matrix runner selection to dynamic label composition. |
.github/dependabot.yml |
Update Dependabot to scan multiple Cargo/NPM directories and set higher PR limits. |
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Try to fix communication issues with self hosted runners